package demo;

import java.util.function.Supplier;

/**
 * supplier demo
 *
 * @author dingwen
 * 2021.05.19 11:09
 */
public class SupplierDemo {

    public static void main(String[] args) {
        Supplier<SupplierDemo> supplier = SupplierDemo::new;
        supplier.get().supplierTest();
    }

    /**
     * supplier测试
     */
    public void supplierTest(){
        System.out.println("supplier test");
    }
}
